#include "naglowek.h"

void ciekawaFunkcja(int A, int B)
{

	A*=B;
	B*=B;
	std::cout << "A: " << A << "\n";
	std::cout << "B: " << B << "\n";
	A = ++A + A++;
	B = ++B + B++;
	std::cout << "A: A = ++A + A++;" << A << "\n";
	std::cout << "B: B = ++B + B++;" << B << "\n";
	++++A;
	++++B;
	std::cout << "A: ++++A;" << A << "\n";
	std::cout << "B: ++++B;" << B << "\n";
	A++;
	B++;

	//A++++; nie działa
	std::cout << "A: A++;" << A << "\n";
	std::cout << "B: B++;" << B << "\n";

}
